from flask import Flask, request, jsonify, session
from flask_mysqldb import MySQL
import MySQLdb.cursors

import login

app =login.app

# 秘钥，用于 session
app.secret_key = 'njit'

# MySQL 配置
app.config['MYSQL_HOST'] = '106.14.137.132'
app.config['MYSQL_USER'] = 'root'
app.config['MYSQL_PASSWORD'] = 'zx20040714'
app.config['MYSQL_DB'] = 'bsproject'

# 初始化 MySQL
mysql = MySQL(app)

# 获取所有用户

